package com.bootdo.staticmask.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.staticmask.dao.MaskEncodeDao;
import com.bootdo.staticmask.domain.MaskEncodeDO;
import com.bootdo.staticmask.service.MaskEncodeService;



@Service
public class MaskEncodeServiceImpl implements MaskEncodeService {
	@Autowired
	private MaskEncodeDao maskEncodeDao;
	
	@Override
	public MaskEncodeDO get(Integer encodeId){
		return maskEncodeDao.get(encodeId);
	}
	
	@Override
	public List<MaskEncodeDO> list(Map<String, Object> map){
		return maskEncodeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return maskEncodeDao.count(map);
	}
	
	@Override
	public int save(MaskEncodeDO maskEncode){
		return maskEncodeDao.save(maskEncode);
	}
	
	@Override
	public int update(MaskEncodeDO maskEncode){
		return maskEncodeDao.update(maskEncode);
	}
	
	@Override
	public int remove(Integer encodeId){
		return maskEncodeDao.remove(encodeId);
	}
	
	@Override
	public int batchRemove(Integer[] encodeIds){
		return maskEncodeDao.batchRemove(encodeIds);
	}

	@Override
	public List<MaskEncodeDO> findAll() {
		return maskEncodeDao.findAll();
	}

}
